import requests

# 发起请求
req = requests.get('https://www.baidu.com')

# 获取爬取的内容
content = req.content.decode('utf-8')
print(content)

